package com.hawthorn.redis.repository.provider;

import org.apache.ibatis.builder.annotation.ProviderMethodResolver;

/**
 * <p>todo todo 公司缓存sql类</p>
 * @author: andyten@tom.com | xukaixing@hotmail.com
 * @created: 2022/06/30 12:59 PM
 * @version v1.0.1
 * @copyright: Copyright (c)  andyten
 */
public class DivisionCacheSqlProvider implements ProviderMethodResolver
{
  public static String selectDivision()
  {
    String sql = "select  " +
        "id, " +
        "code, " +
        "dname, " +
        "sname, " +
        "type, " +
        "parent, " +
        "status " +
        "from sys_division " +
        " order by code";
    return sql;
  }
}
